include_directories(.)
AUX_SOURCE_DIRECTORY(. DIR_TinyUSB_SRCS)
include_directories(./common)
AUX_SOURCE_DIRECTORY(./common DIR_TinyUSB_SRCS)
include_directories(./device)
AUX_SOURCE_DIRECTORY(./device DIR_TinyUSB_SRCS)
include_directories(./class/cdc)
AUX_SOURCE_DIRECTORY(./class/cdc DIR_TinyUSB_SRCS)
include_directories(./class/msc)
AUX_SOURCE_DIRECTORY(./class/msc DIR_TinyUSB_SRCS)
ADD_LIBRARY(TinyUSB ${DIR_TinyUSB_SRCS})
target_link_libraries(TinyUSB stmp3770 services config)